// Element Plus 自定义主题变量
:root {
  // 科技色彩系统
  --el-color-primary: #00d4ff;
  --el-color-primary-light-3: #33dfff;
  --el-color-primary-light-5: #66eaff;
  --el-color-primary-light-7: #99f4ff;
  --el-color-primary-light-8: #b3f7ff;
  --el-color-primary-light-9: #ccfaff;
  --el-color-primary-dark-2: #00aad4;
  
  --el-color-success: #00ff88;
  --el-color-warning: #ffaa00;
  --el-color-danger: #ff4757;
  --el-color-info: #3742fa;
  
  // 背景色系统
  --el-bg-color: #0a0a0f;
  --el-bg-color-page: #0a0a0f;
  --el-bg-color-overlay: #151520;
  
  // 文字色系统
  --el-text-color-primary: #ffffff;
  --el-text-color-regular: #e6e6e6;
  --el-text-color-secondary: #a0a0a0;
  --el-text-color-placeholder: #666666;
  
  // 边框色系统
  --el-border-color: #2d2d35;
  --el-border-color-light: #3e3e45;
  --el-border-color-lighter: #4d4d55;
  --el-border-color-extra-light: #5d5d65;
  
  // 填充色系统
  --el-fill-color: #1a1a25;
  --el-fill-color-light: #25253a;
  --el-fill-color-lighter: #30304f;
  --el-fill-color-extra-light: #3b3b64;
  
  // 遮罩色
  --el-overlay-color: rgba(0, 0, 0, 0.8);
  --el-overlay-color-light: rgba(0, 0, 0, 0.7);
  --el-overlay-color-lighter: rgba(0, 0, 0, 0.5);
  
  // 盒子阴影
  --el-box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
  --el-box-shadow-light: 0 2px 8px rgba(0, 212, 255, 0.1);
  --el-box-shadow-lighter: 0 1px 4px rgba(0, 212, 255, 0.05);
  --el-box-shadow-dark: 0 8px 24px rgba(0, 212, 255, 0.2);
}

// Element Plus 组件自定义样式
.el-card {
  background: linear-gradient(145deg, rgba(21, 21, 32, 0.9), rgba(26, 26, 37, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  
  &:hover {
    border-color: var(--el-color-primary);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
  }
}

.el-button {
  &--primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    position: relative;
    overflow: hidden;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }
    
    &:hover::before {
      left: 100%;
    }
  }
}

.el-input {
  .el-input__wrapper {
    background-color: rgba(21, 21, 32, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    
    &:hover, &.is-focus {
      border-color: var(--el-color-primary);
      box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.2);
    }
  }
}

.el-menu {
  background-color: transparent !important;
  border-right: none;
  
  .el-menu-item {
    color: var(--el-text-color-regular);
    transition: all 0.3s ease;
    position: relative;
    
    &:hover, &.is-active {
      background-color: rgba(0, 212, 255, 0.1) !important;
      color: var(--el-color-primary);
      
      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, #00d4ff, #39ff14);
      }
    }
  }
}

.el-tag {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(57, 255, 20, 0.2));
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--el-color-primary);
  transition: all 0.3s ease;
  
  &:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(57, 255, 20, 0.3));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
  }
}